package com.example.cms.pojo;

import com.wordnik.swagger.annotations.ApiModelProperty;

/**
 * @ClassName AdvancedQuery
 * @Descriptiom TODO
 * @Author Sunbird
 * @Date 2018/11/22 11:01
 * @Version 1.0
 **/
public class AdvancedQuery {
    @ApiModelProperty("字段的名字")
    private String fieldName;//字段名称1
    @ApiModelProperty("关系运算符")
    private String relationOperator;//关系运算符 等于 大于 小于
    @ApiModelProperty("临时运算符")
    private String tempOperator;//临时运算符
    @ApiModelProperty("字段值")
    private String fieldValue;//字段值
    @ApiModelProperty("字段类别")
    private  String fieldType="string";//字段类别
    @ApiModelProperty("逻辑运算发")
    private  String logicalOperator ="AND";//逻辑运算符
    @ApiModelProperty("排序")
    private  String sort ;//排序

    public String getFieldValue() {
        return fieldValue;
    }

    public void setFieldValue(String fieldValue) {
        this.fieldValue = fieldValue;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getRelationOperator() {
        return relationOperator;
    }

    public void setRelationOperator(String relationOperator) {
        this.relationOperator = relationOperator;
    }

    public String getTempOperator() {
        return tempOperator;
    }

    public void setTempOperator(String tempOperator) {
        this.tempOperator = tempOperator;
    }



    public String getFieldType() {
        return fieldType;
    }

    public void setFieldType(String fieldType) {
        this.fieldType = fieldType;
    }

    public String getLogicalOperator() {
        return logicalOperator;
    }

    public void setLogicalOperator(String logicalOperator) {
        this.logicalOperator = logicalOperator;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }
}
